package com.literature.search.core.entity;

import com.literature.search.core.enums.TagEnum;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @ClassName Tag
 * @Description 标签
 * @Author abin
 * @Date 2023/2/22 23:42
 * @Version 1.0
 */
@Data
public class Tag {

    @Id
    private Long id;

    @NotBlank(message = "")
    private TagEnum name;

    private Date createDate;

    private Date updateDate;

}
